package com.soap.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by ZhangPY on 2021/1/25
 * Belong Organization OVERUN-9299
 * overun9299@163.com
 * Explain: MSBusinessServiceFeign
 */
@FeignClient("micro-service-business")
public interface MSBusinessServiceFeign {

    /**
     * 批量插入goods
     * @param goods
     * @return
     */
    @RequestMapping(value = "ms/business/goods/batchAddGoods" , method = RequestMethod.POST , consumes = "application/json")
    String batchAddGoods(String goods);
}
